package com.hulytu.dev2.droid;

import android.app.Activity;
import android.os.Bundle;

import com.hulytu.dev2.plugin.EnhancePlugin;

public interface ActivityEnhancePlugin<T extends Activity> extends EnhancePlugin {

    String CREATE = "onCreated";
    String RESUME = "onResumed";
    String STOP = "onStopped";
    String PAUSE = "onPaused";
    String START = "onStarted";
    String DESTROY = "onDestroyed";

    void onCreated(T activity, Bundle bundle);

    void onResumed(T activity);

    void onStopped(T activity);

    void onPaused(T activity);

    void onStarted(T activity);

    void onDestroyed(T activity);

    T getActivity();

    void setActivity(T activity);
}
